//
// Created by Administrator on 2024/11/18.
//

#ifndef AI_PACS_DATEUTILS_H
#define AI_PACS_DATEUTILS_H
#include <iostream>
#include <iomanip>
#include <ctime>
#include <sstream>

class DateUtils {
public:
    static std::string getCurrentTimeString(const std::string& format = "%Y-%m-%d %H:%M:%S");
    static std::string getCurrentDateString();
    static std::time_t getCurrentTimeStamp();
    static std::string getCurrentTimeOnlyString();
    static std::tm * getCurrentLocalTime();
    static int getCurrentYear();
    static int getCurrentMonth();
    static int getCurrentDay();
};


#endif //AI_PACS_DATEUTILS_H
